fix(native-eval): benchmark genuine OpenClaw code mode - #62
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 8:19 PM ET / August 5, 2026, 00:19 UTC. ClawSweeper reviewWhat this changesThe PR makes ShellBench’s OpenClaw native-evaluation modes explicit, carries reasoning and mode settings through dispatch, and validates public trajectory exports before scoring. Regression provenancePossible regression — probable (reviewed change; known regression link). No predecessor PR is attributed. Merge readinessKeep this member-authored PR open for normal maintainer review. It corrects a source-proven benchmark-control defect, and the prior retired-input concern does not apply because those inputs are absent from current main. Priority: P2 Review scores
Verification
How this fits togetherShellBench’s native evaluator creates run manifests, launches OpenClaw benchmark jobs, and converts exported session trajectories into scored evidence. This change controls the OpenClaw tool surface and rejects incomplete traces before they affect benchmark results. flowchart LR
A[Benchmark plan] --> B[Run manifest]
B --> C[OpenClaw harness]
C --> D[Session trajectory export]
D --> E[Trace validation]
E --> F[Benchmark scoring]
Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the explicit control and public-export validation path, then establish fresh matched direct and Code Mode benchmark evidence while treating older unset-mode results as legacy evidence. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main omits the relevant OpenClaw controls, while the proposed path explicitly writes and validates each selected mode. No fresh remote benchmark was run in this read-only review. Is this the best way to solve the issue? Yes; configuring the intended OpenClaw mode and using public trajectory exports is a narrower, more maintainable fix than relying on runtime defaults and private session reconstruction. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against 884dd1bb5511. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (28 earlier review cycles; latest 8 shown)
|
What does this PR do?
Makes the OpenClaw native-eval arms represent genuine direct, directory, and
Code Mode execution, then exports and validates their public trajectory bundles
before a run can be scored.
Why?
Fixes #61.
The earlier
codearm selected the legacytool_search_codebridge rather thanOpenClaw Code Mode. The harness also masked setup failures, forced thinking off,
terminated the runtime before lifecycle cleanup settled, and reconstructed
delegated traces from private session files. Those failures made the released
direct/code comparison invalid and disproportionately erased Code Mode's nested
tool calls.
Changes
direct,directory, andcodeto explicit, mutually exclusiveOpenClaw tool surfaces.
OpenClaw defaults, subagents, CLI execution, and manifests.
openclaw agentexit naturally.openclaw sessions export-trajectory.nested and repeated runs, without blocking the Gateway.
status, complete Code Mode snapshots, and the exact provider-visible
exec/waitsurface.public export bundles.
than publishing partial traces.
Tests
454 passed, 5 skipped61 passedgit diff --check, generated shell syntax for all threemodes, and generated audit-plugin
node --checkThe July 29, 2026 released
coderesult remains legacy Tool Search bridgeevidence only. It is not evidence about genuine OpenClaw Code Mode.